home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Ken Long / NewStringArt-c / What about it? < prev   
Encoding:
Text File  |  1994-12-04  |  2.4 KB  |  62 lines  |  [TEXT/EDIT]

  1. Another old C source, "brought back from the dead," 
  2. by Kenneth A. Long, at itty bitty bytes™.
  3.  
  4. Original source in Megamax C v.2 by Ron Hitchens, 13 September
  5. 1985.
  6.  
  7. There are two programs here.  One builds the 'stringnums.c' file, 
  8. by recursivly tapping from 12 available functions to create values,
  9. and writing them in the file.  This program is more or less a
  10. table compiler.  Interesting in and of itself.  The more interesting
  11. of the two.
  12.  
  13. The other program is the StringArt project.  It draws random sets
  14. of lines, based on the table it accesses.  Kinda slow.  Maybe 
  15. there's a delay call I didn't spot.  Lots slower than many
  16. screenSaver type programs, including FlyingLine.
  17.  
  18. The StringArt thing is nothing special.  Everybody, their brother,
  19. their sister and maybe even their Grandma may have put out some sort
  20. of screen saver. (I like Polygondrian :)
  21.  
  22. Enjoy!
  23.  
  24. kenlong@netcom.com
  25. kenlong@aol.com
  26.  
  27. --------------------------Original info-------------------------->
  28.  
  29. (1985)
  30. Here's the source to Stringart which I promised a few weeks ago.
  31.  
  32. I've been swamped doing real work and just haven't gotten around
  33. to it until now.  I received quite a few requests for this so I'm
  34. posting it rather than sending individual copies to people.  I
  35. spent quite a bit of time adding profuse comments so that
  36. MacBeginners can see what's necessary for a minimal application in
  37. C on the Mac.  
  38.  
  39. This code is functionally the same as the object code I posted a
  40. few weeks ago, except that a few things have been robustified and
  41. it will now use the entire screen if running on a Lisa.  If anyone
  42. wants this new version to run on a Lisa but doesn't have MegaMax
  43. to compile it with I'll be happy to send them a binhex'd copy.  To
  44. help relieve net congestion I won't repost the object code.  
  45. This code was prepared with Megamax C version 2.  
  46.  
  47. As far as I know there is no reason why it shouldn't work with
  48. version 1 also, but I haven't tried it.  There are two programs
  49. here.  One generates a third C source file which declares the
  50. tables of numbers used to draw the vectors.  This file and the
  51. stringart program itself are linked together to produce the
  52. application.  Compilation instructions are in the comments in the
  53. stringart.c source.
  54.  
  55.  Feel free to distribute this thing far and wide.  Perhaps
  56. someone could post it on CompuServe.  I'd be glad to hear any
  57. comments about StringArt.
  58.  
  59. Ron Hitchens    
  60.  
  61. hitchens@ut-sally.ARPA ...!ihnp4!ut-sally!hitchens.UUCP
  62.